Api.EnableAutoRestart method

Allows for auto-restart to be enabled. Following a cable disconnected, if auto-restart is enabled, the EtherCAT master restarts automatically after a cable is plugged in.

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError EnableAutoRestart(
       bool Active
)
Public Function EnableAutoRestart(
       Active As Boolean
) As KsError

Parameters

Active

Type: bool

true to enable, and false to disable auto-restart. By default, it is true.

Return value

Type: KsError

A return code of a method.

Remarks

Usable EtherCAT states

ecatOffline

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace